package leave.dataaccess;

import java.util.ArrayList;

import leave.exception.DataAccessException;
import leave.model.Employee;

public interface EmployeeLeaveDAO {
	
	public Employee getEmployee(int employeeID) throws DataAccessException;
	public Employee[] getAllEmployees () throws DataAccessException;
	public void insertEmployee(Employee employee) throws DataAccessException;
	public void updateEmployee(Employee employee) throws DataAccessException;
	public void deleteEmployee(Employee employee) throws DataAccessException;
	
	public ArrayList<Employee> getSubordinateEmployee(int managerEmpID) throws DataAccessException;
	Employee getEmployeeByID(int employeeID) throws DataAccessException;
}
